{template 'common/header'}
<style>
    .user img{width:100px;}
</style>

<div>{$activity['activity_name']}</div>
<div class="user">欢迎您:{$fans['nickname']}<img src="{$fans['headimgurl']}"></div>

<form action="" method="post">
    姓名:<input name="fans[realname]">
    电话:<input name="fans[mobile]">

    <input type="hidden" name="fans[openid]" value="{$fans['openid']}">
    <input type="hidden" name="fans[activity_id]" value="{$aid}">
    <input type="hidden" name="fans[avatar]" value="{$fans['headimgurl']}">
    <input type="hidden" name="fans[nickname]" value="{$fans['nickname']}">
    <input type="submit" value="报名">
</form>
</body>
</html>